package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.ProfTitleDao;
import com.totoro.domain.ProfTitle;

@Transactional
@Service
public class ProfTitleService extends BaseService<ProfTitle, Integer>{
	
	private ProfTitleDao profTitleDao;

	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<ProfTitle, Integer> profTitleDao) {
		// TODO Auto-generated method stub
		this.baseDao = profTitleDao;
		this.profTitleDao = (ProfTitleDao) profTitleDao;
	}

}
